﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchEmployee.ascx.vb"
    Inherits="WebForm_ManageEmployee_SearchEmployee" %>
<table>
    <tr>
        <td align="right">
            <asp:Label ID="lblOrganizationID" runat="server" meta:resourcekey="lblOrganizationID"></asp:Label>
        </td>
        <td align="left">            
            <asp:DropDownList ID="ddlOrganizationID" runat="server" AutoPostBack="false">
            </asp:DropDownList>
        </td>    
        <td align="right">
            <asp:Label ID="lblActive" runat="server" meta:resourcekey="lblActive"></asp:Label>
        </td>
        <td align="left">            
            <asp:DropDownList ID="ddlActive" runat="server" AutoPostBack="false">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="lblEmployeeID" runat="server" meta:resourcekey="lblEmployeeID"></asp:Label>
        </td>
        <td align="left">            
            <asp:TextBox ID="txtEmployeeID" runat="server"></asp:TextBox>
        </td>    
        <td align="right">
            <asp:Label ID="lblEmployeeName" runat="server" meta:resourcekey="lblEmployeeName"></asp:Label>
        </td>
        <td align="left">            
            <asp:TextBox ID="txtEmployeeName" runat="server"></asp:TextBox>
        </td>
        <td>
            <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
        </td>            
    </tr>
</table>
<br />
<My:MyGridView ID="gv" runat="server" SkinID="pager" meta:resourcekey="gv" AllowPaging="True"
    AllowHoverSelect="False" DataKeyNames="EmployeeID" AllowHoverEffect="True" MySortDirection="Ascending"
    AutoGenerateColumns="False">
    <Columns>
        <asp:BoundField DataField="EmployeeID" meta:resourcekey="bfEmployeeID" />
        <asp:BoundField DataField="EmployeeName" meta:resourcekey="bfEmployeeName" />
        <asp:BoundField DataField="OrganizationName" meta:resourcekey="bfOrganizationName" />
        <asp:TemplateField>
            <itemtemplate>
                <asp:LinkButton ID="lknEdit" CommandName="Edit" runat="server" meta:resourcekey="lknEdit"></asp:LinkButton>
            </itemtemplate>
        </asp:TemplateField>
    </Columns>
</My:MyGridView>
